/*
 *
 * Default stylesheet for HTML_QuickForm2 forms.
 *
 * Based on stylesheet from HTML_QuickForm_Renderer_Tableless package 
 * by Mark Wiesemann <wiesemann at php dot net>
 *
 * $Id: quickform.css 295963 2010-03-08 14:33:43Z avb $
 *
 */

.quickform form {
    margin: 0;
    padding: 0;
}
.quickform fieldset {
    clear: both;
    border: 1px solid #808080;
    margin: 0.2em 0 0 0;
    padding: 0.5em;
}
.quickform fieldset legend {
    white-space: nowrap;
    font-weight: bold;
    background-color: #CCCCCC;
    padding: 0.1em 0.5em;
    display: block;
    margin: 0;
}
.quickform label {
    margin: 0 0 0 0.5em;
}
.quickform label.element {
    display: block;
    float: left;
    width: 30%;
    padding: 0;
    margin: 0.5em 0 0 0;
    text-align: right;
}
.quickform input, .quickform textarea, .quickform select {
    width: auto;
}
.quickform textarea {
    overflow: auto;
}
.quickform br {
    clear: left;
}
.quickform div.row {
    padding: 0;
    margin: 0;
    clear: both;
}
.quickform div.element {
    display: inline;
    float: left;
    margin: 0.5em 0 0 1em;
    padding: 0;
}
.quickform div.reqnote {
    clear: both;
    font-size: 80%; 
    margin: 0.5em 0 0 1em;
}
.quickform span.error, .quickform span.required {
    color: red;
}
.quickform div.error {
    border: 1px solid red;
    padding: 0.5em;
}
